package com.wuxiaoqin.server;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Component;


@SpringBootApplication
@ComponentScan(basePackages = {"com.wuxiaoqin.securityConfig","com.wuxiaoqin.uitls","com.wuxiaoqin.server","com.yyf.server"})
//@ComponentScan(basePackages = "com.wuxiaoqin",excludeFilters = {@ComponentScan.Filter(type = FilterType.REGEX,pattern = "com.wuxiaoqin.admin.*")})
public class MallApplication {
    public static void main(String[] args) {
        SpringApplication.run(MallApplication.class,args);
    }
}
